package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Event4report;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface Event4reportService {

	public Event4report saveEvent4report(Event4report event4report);

	public Set<Event4report> loadEvent4reports();

	public Set<Event4report> loadReferenceEvent4reports(Set<Event4report> event4reports);

	public Set<Event4report> loadEvent4reportsByIdSet(Set<Integer> event4reportsId);

	public Map<String, ?> loadEvent4reportObjectReferencedSet(Event4report event4report);

	public Map<String, ?> loadEvent4reportClassReferencedSet(Event4report event4report);

	public void deleteEvent4report(Event4report event4report);

	public void deleteEvent4reports(Set<Integer> deleteEvent4reportsId);

	public List<Event4report> findAllEvent4reports(Integer startResult, Integer maxRows);

	public Event4report findEvent4reportByPrimaryKey(Integer id);

	public Integer countEvent4reports();

	public Integer countEvent4reports(CmiPagination page);

	public Integer countEvent4reportsByName(String queryName);

	public Integer countEvent4reportsByDetachedCriteria(CmiPagination page);

}
